﻿<%@ Page Title="" Language="C#" MasterPageFile="~/NNC_H/MasterPage.master" AutoEventWireup="true"
    CodeFile="News.aspx.cs" Inherits="NNC_H_Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
        <tr>
            <td align="center">
                <table style="width: 100%;">
                    <tr>
                        <td colspan="2">
                            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="Blue"
                                Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Image ID="Image1" runat="server" Width="352px" />
                            <br />
                            <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Repeater ID="Repeater1" runat="server" DataSourceID="LinqDataSource1">
                                <ItemTemplate>
                                    <table border="0" cellpadding="5" cellspacing="0" width="100%">
                                        <tr>
                                            <td colspan="2" style="height: 32px">
                                                <a href="News.aspx?ID=<%# Eval("ID") %>" class="RR">
                                                    <%# Eval("TieuDe") %>(
                                                    <%# Convert.ToDateTime(Eval("NgayDangTin")).ToShortDateString()%>
                                                    ) </a>
                                                <asp:Image ID="Image2" runat="server" ImageUrl="~/NNC_H/TinTuc/New-08-june.gif" />
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:Repeater>
                        </td>
                    </tr>
                </table>
                <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="DataAccess_Layer.DataClasses_RetailerDataContext"
                    EntityTypeName="" TableName="TinTucNCCs" OrderBy="NgayDangTin desc">
                </asp:LinqDataSource>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
</asp:Content>
